</parameters>
</function-macro>
<constant name="BUILT_FEATURES"
- value="libcurl libsoup gpgme libarchive selinux openssl libmount release p2p"
+ value="libcurl libsoup gpgme ex-fsverity libarchive selinux openssl libmount systemd release p2p"
c:type="OSTREE_BUILT_FEATURES"
version="2019.3">
<doc xml:space="preserve"
</parameters>
</function>
</record>
+ <record name="CommitSizesEntry"
+ c:type="OstreeCommitSizesEntry"
+ version="2020.1"
+ glib:type-name="OstreeCommitSizesEntry"
+ glib:get-type="ostree_commit_sizes_entry_get_type"
+ c:symbol-prefix="commit_sizes_entry">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="524">Structure representing an entry in the "ostree.sizes" commit metadata. Each
+entry corresponds to an object in the associated commit.</doc>
+ <source-position filename="ostree-core.h" line="541"/>
+ <field name="checksum" writable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="526">object checksum</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </field>
+ <field name="objtype" writable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="527">object type</doc>
+ <type name="ObjectType" c:type="OstreeObjectType"/>
+ </field>
+ <field name="unpacked" writable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="528">unpacked object size</doc>
+ <type name="guint64" c:type="guint64"/>
+ </field>
+ <field name="archived" writable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="529">compressed object size</doc>
+ <type name="guint64" c:type="guint64"/>
+ </field>
+ <constructor name="new"
+ c:identifier="ostree_commit_sizes_entry_new"
+ version="2020.1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2437">Create a new #OstreeCommitSizesEntry for representing an object in a
+commit's "ostree.sizes" metadata.</doc>
+ <source-position filename="ostree-core.h" line="547"/>
+ <return-value transfer-ownership="full" nullable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2447">a new #OstreeCommitSizesEntry</doc>
+ <type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
+ </return-value>
+ <parameters>
+ <parameter name="checksum" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2439">object checksum</doc>
+ <type name="utf8" c:type="const gchar*"/>
+ </parameter>
+ <parameter name="objtype" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2440">object type</doc>
+ <type name="ObjectType" c:type="OstreeObjectType"/>
+ </parameter>
+ <parameter name="unpacked" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2441">unpacked object size</doc>
+ <type name="guint64" c:type="guint64"/>
+ </parameter>
+ <parameter name="archived" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2442">compressed object size</doc>
+ <type name="guint64" c:type="guint64"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="copy"
+ c:identifier="ostree_commit_sizes_entry_copy"
+ version="2020.1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2467">Create a copy of the given @entry.</doc>
+ <source-position filename="ostree-core.h" line="552"/>
+ <return-value transfer-ownership="full" nullable="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2473">a new copy of @entry</doc>
+ <type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="entry" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2469">an #OstreeCommitSizesEntry</doc>
+ <type name="CommitSizesEntry"
+ c:type="const OstreeCommitSizesEntry*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
+ <method name="free"
+ c:identifier="ostree_commit_sizes_entry_free"
+ version="2020.1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2487">Free given @entry.</doc>
+ <source-position filename="ostree-core.h" line="554"/>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="entry" transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2489">an #OstreeCommitSizesEntry</doc>
+ <type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
+ </record>
<function-macro name="DEPLOYMENT"
c:identifier="OSTREE_DEPLOYMENT"
introspectable="0">
filename="ostree-gpg-verify-result.h"
line="157">Errors returned by signature creation and verification operations in OSTree.
These may be returned by any API which creates or verifies signatures.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="172"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="180"/>
<member name="no_signature"
value="0"
c:identifier="OSTREE_GPG_ERROR_NO_SIGNATURE">
filename="ostree-gpg-verify-result.h"
line="161">A signature was found, but was created with a key not in the configured keyrings.</doc>
</member>
+ <member name="expired_signature"
+ value="3"
+ c:identifier="OSTREE_GPG_ERROR_EXPIRED_SIGNATURE">
+ <doc xml:space="preserve"
+ filename="ostree-gpg-verify-result.h"
+ line="162">A signature was expired. Since: 2020.1.</doc>
+ </member>
+ <member name="expired_key"
+ value="4"
+ c:identifier="OSTREE_GPG_ERROR_EXPIRED_KEY">
+ <doc xml:space="preserve"
+ filename="ostree-gpg-verify-result.h"
+ line="163">A signature was found, but the key used to
+ sign it has expired. Since: 2020.1.</doc>
+ </member>
+ <member name="revoked_key"
+ value="5"
+ c:identifier="OSTREE_GPG_ERROR_REVOKED_KEY">
+ <doc xml:space="preserve"
+ filename="ostree-gpg-verify-result.h"
+ line="165">A signature was found, but the key used to
+ sign it has been revoked. Since: 2020.1.</doc>
+ </member>
</enumeration>
<enumeration name="GpgSignatureAttr" c:type="OstreeGpgSignatureAttr">
<doc xml:space="preserve"
c:identifier="ostree_gpg_verify_result_describe_variant">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="587">Similar to ostree_gpg_verify_result_describe() but takes a #GVariant of
+ line="583">Similar to ostree_gpg_verify_result_describe() but takes a #GVariant of
all attributes for a GPG signature instead of an #OstreeGpgVerifyResult
and signature index.
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="589">a #GVariant from ostree_gpg_verify_result_get_all()</doc>
+ line="585">a #GVariant from ostree_gpg_verify_result_get_all()</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="output_buffer" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="590">a #GString to hold the description</doc>
+ line="586">a #GString to hold the description</doc>
<type name="GLib.String" c:type="GString*"/>
</parameter>
<parameter name="line_prefix"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="591">optional line prefix string</doc>
+ line="587">optional line prefix string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="592">flags to adjust the description format</doc>
+ line="588">flags to adjust the description format</doc>
<type name="GpgSignatureFormatFlags"
c:type="OstreeGpgSignatureFormatFlags"/>
</parameter>
throws="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="752">Checks if the result contains at least one signature from the
+ line="748">Checks if the result contains at least one signature from the
trusted keyring. You can call this function immediately after
ostree_repo_verify_summary() or ostree_repo_verify_commit_ext() -
it will handle the %NULL @result and filled @error too.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="762">%TRUE if @result was not %NULL and had at least one
+ line="758">%TRUE if @result was not %NULL and had at least one
signature from trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="754">an #OstreeGpgVerifyResult</doc>
+ line="750">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
</parameters>
</member>
</enumeration>
<constant name="RELEASE_VERSION"
- value="6"
+ value="2"
c:type="OSTREE_RELEASE_VERSION"
version="2017.4">
<doc xml:space="preserve"
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1242">An accessor object for an OSTree repository located at @path</doc>
+ line="1244">An accessor object for an OSTree repository located at @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1240">Path to a repository</doc>
+ line="1242">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
<constructor name="new_default" c:identifier="ostree_repo_new_default">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1315">If the current working directory appears to be an OSTree
+ line="1317">If the current working directory appears to be an OSTree
repository, create a new #OstreeRepo object for accessing it.
Otherwise use the path in the OSTREE_REPO environment variable
(if defined) or else the default system repository located at
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1324">An accessor object for an OSTree repository located at /ostree/repo</doc>
+ line="1326">An accessor object for an OSTree repository located at /ostree/repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
</constructor>
c:identifier="ostree_repo_new_for_sysroot_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1298">Creates a new #OstreeRepo instance, taking the system root path explicitly
+ line="1300">Creates a new #OstreeRepo instance, taking the system root path explicitly
instead of assuming "/".</doc>
<source-position filename="ostree-repo.h" line="56"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1306">An accessor object for the OSTree repository located at @repo_path.</doc>
+ line="1308">An accessor object for the OSTree repository located at @repo_path.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="repo_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1300">Path to a repository</doc>
+ line="1302">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="sysroot_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1301">Path to the system root</doc>
+ line="1303">Path to the system root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2602">This is a file-descriptor relative version of ostree_repo_create().
+ line="2604">This is a file-descriptor relative version of ostree_repo_create().
Create the underlying structure on disk for the repository, and call
ostree_repo_open_at() on the result, preparing it for use.
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2624">A new OSTree repository reference</doc>
+ line="2626">A new OSTree repository reference</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2604">Directory fd</doc>
+ line="2606">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2605">Path</doc>
+ line="2607">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2606">The mode to store the repository in</doc>
+ line="2608">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2607">a{sv}: See below for accepted keys</doc>
+ line="2609">a{sv}: See below for accepted keys</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2608">Cancellable</doc>
+ line="2610">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2428">a repo mode as a string</doc>
+ line="2430">a repo mode as a string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_mode"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2429">the corresponding #OstreeRepoMode</doc>
+ line="2431">the corresponding #OstreeRepoMode</doc>
<type name="RepoMode" c:type="OstreeRepoMode*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1263">This combines ostree_repo_new() (but using fd-relative access) with
+ line="1265">This combines ostree_repo_new() (but using fd-relative access) with
ostree_repo_open(). Use this when you know you should be operating on an
already extant repository. If you want to create one, use ostree_repo_create_at().</doc>
<source-position filename="ostree-repo.h" line="69"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1272">An accessor object for an OSTree repository located at @dfd + @path</doc>
+ line="1274">An accessor object for an OSTree repository located at @dfd + @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1265">Directory fd</doc>
+ line="1267">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1266">Path</doc>
+ line="1268">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_pull_default_console_progress_changed">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4777">Convenient "changed" callback for use with
+ line="4807">Convenient "changed" callback for use with
ostree_async_progress_new_and_connect() when pulling from a remote
repository.
<parameter name="progress" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4779">Async progress</doc>
+ line="4809">Async progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4780">User data</doc>
+ line="4810">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2249">Abort the active transaction; any staged objects and ref changes will be
+ line="2425">Abort the active transaction; any staged objects and ref changes will be
discarded. You *must* invoke this if you have chosen not to invoke
ostree_repo_commit_transaction(). Calling this function when not in a
transaction will do nothing and return successfully.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2251">An #OstreeRepo</doc>
+ line="2427">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2252">Cancellable</doc>
+ line="2428">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5151">Add a GPG signature to a summary file.</doc>
+ line="5181">Add a GPG signature to a summary file.</doc>
<source-position filename="ostree-repo.h" line="1360"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5153">Self</doc>
+ line="5183">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5154">NULL-terminated array of GPG keys.</doc>
+ line="5184">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5155">GPG home directory, or %NULL</doc>
+ line="5185">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5156">A #GCancellable</doc>
+ line="5186">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4927">Append a GPG signature to a commit.</doc>
+ line="4957">Append a GPG signature to a commit.</doc>
<source-position filename="ostree-repo.h" line="1367"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4929">Self</doc>
+ line="4959">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4930">SHA256 of given commit to sign</doc>
+ line="4960">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="signature_bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4931">Signature data</doc>
+ line="4961">Signature data</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4932">A #GCancellable</doc>
+ line="4962">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2156">Complete the transaction. Any refs set with
+ line="2332">Complete the transaction. Any refs set with
ostree_repo_transaction_set_ref() or
ostree_repo_transaction_set_refspec() will be written out.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2158">An #OstreeRepo</doc>
+ line="2334">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_stats"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2159">A set of statistics of things
+ line="2335">A set of statistics of things
that happened during this transaction.</doc>
<type name="RepoTransactionStats"
c:type="OstreeRepoTransactionStats*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2161">Cancellable</doc>
+ line="2337">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1443">A newly-allocated copy of the repository config</doc>
+ line="1445">A newly-allocated copy of the repository config</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<method name="create" c:identifier="ostree_repo_create" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2554">Create the underlying structure on disk for the repository, and call
+ line="2556">Create the underlying structure on disk for the repository, and call
ostree_repo_open() on the result, preparing it for use.
Since version 2016.8, this function will succeed on an existing
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2556">An #OstreeRepo</doc>
+ line="2558">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2557">The mode to store the repository in</doc>
+ line="2559">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2558">Cancellable</doc>
+ line="2560">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4222">Remove the object of type @objtype with checksum @sha256
+ line="4252">Remove the object of type @objtype with checksum @sha256
from the repository. An error of type %G_IO_ERROR_NOT_FOUND
is thrown if the object does not exist.</doc>
<source-position filename="ostree-repo.h" line="606"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4224">Repo</doc>
+ line="4254">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4225">Object type</doc>
+ line="4255">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4226">Checksum</doc>
+ line="4256">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4227">Cancellable</doc>
+ line="4257">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="equal" c:identifier="ostree_repo_equal" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3496">Check whether two opened repositories are the same on disk: if their root
+ line="3526">Check whether two opened repositories are the same on disk: if their root
directories are the same inode. If @a or @b are not open yet (due to
ostree_repo_open() not being called on them yet), %FALSE will be returned.</doc>
<source-position filename="ostree-repo.h" line="130"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3505">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
+ line="3535">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3498">an #OstreeRepo</doc>
+ line="3528">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3499">an #OstreeRepo</doc>
+ line="3529">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1221">Import an archive file @archive into the repository, and write its
+ line="1223">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
<source-position filename="ostree-repo.h" line="816"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1223">An #OstreeRepo</doc>
+ line="1225">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1224">Options controlling conversion</doc>
+ line="1226">Options controlling conversion</doc>
<type name="RepoExportArchiveOptions"
c:type="OstreeRepoExportArchiveOptions*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1225">An #OstreeRepoFile for the base directory</doc>
+ line="1227">An #OstreeRepoFile for the base directory</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="archive"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1226">A `struct archive`, but specified as void to avoid a dependency on the libarchive headers</doc>
+ line="1228">A `struct archive`, but specified as void to avoid a dependency on the libarchive headers</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1227">Cancellable</doc>
+ line="1229">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4338">Verify consistency of the object; this performs checks only relevant to the
+ line="4368">Verify consistency of the object; this performs checks only relevant to the
immediate object itself, such as checksumming. This API call will not itself
traverse metadata objects for example.</doc>
<source-position filename="ostree-repo.h" line="613"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4340">Repo</doc>
+ line="4370">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4341">Object type</doc>
+ line="4371">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4342">Checksum</doc>
+ line="4372">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4343">Cancellable</doc>
+ line="4373">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2019.2">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6236">Get the bootloader configured. See the documentation for the
+ line="6266">Get the bootloader configured. See the documentation for the
"sysroot.bootloader" config key.</doc>
<source-position filename="ostree-repo.h" line="119"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6243">bootloader configuration for the sysroot</doc>
+ line="6273">bootloader configuration for the sysroot</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6238">an #OstreeRepo</doc>
+ line="6268">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6164">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
+ line="6194">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
<source-position filename="ostree-repo.h" line="109"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6170">collection ID for the repository</doc>
+ line="6200">collection ID for the repository</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6166">an #OstreeRepo</doc>
+ line="6196">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1429">The repository configuration; do not modify</doc>
+ line="1431">The repository configuration; do not modify</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6217">Get the set of default repo finders configured. See the documentation for
+ line="6247">Get the set of default repo finders configured. See the documentation for
the "core.default-repo-finders" config key.</doc>
<source-position filename="ostree-repo.h" line="116"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6224">
+ line="6254">
%NULL-terminated array of strings.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6219">an #OstreeRepo</doc>
+ line="6249">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2016.4">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3447">In some cases it's useful for applications to access the repository
+ line="3477">In some cases it's useful for applications to access the repository
directly; for example, writing content into `repo/tmp` ensures it's
on the same filesystem. Another case is detecting the mtime on the
repository (to see whether a ref was written).</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3456">File descriptor for repository root - owned by @self</doc>
+ line="3486">File descriptor for repository root - owned by @self</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3449">Repo</doc>
+ line="3479">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_repo_get_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3394">For more information see ostree_repo_set_disable_fsync().</doc>
+ line="3424">For more information see ostree_repo_set_disable_fsync().</doc>
<source-position filename="ostree-repo.h" line="86"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3400">Whether or not fsync() is enabled for this repo.</doc>
+ line="3430">Whether or not fsync() is enabled for this repo.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3396">An #OstreeRepo</doc>
+ line="3426">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3529">Determine the number of bytes of free disk space that are reserved according
+ line="3559">Determine the number of bytes of free disk space that are reserved according
to the repo config and return that number in @out_reserved_bytes. See the
documentation for the core.min-free-space-size and
core.min-free-space-percent repo config options.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3540">%TRUE on success, %FALSE otherwise.</doc>
+ line="3570">%TRUE on success, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3531">Repo</doc>
+ line="3561">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_reserved_bytes"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3532">Location to store the result</doc>
+ line="3562">Location to store the result</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
<method name="get_parent" c:identifier="ostree_repo_get_parent">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3556">Before this function can be used, ostree_repo_init() must have been
+ line="3586">Before this function can be used, ostree_repo_init() must have been
called.</doc>
<source-position filename="ostree-repo.h" line="244"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3563">Parent repository, or %NULL if none</doc>
+ line="3593">Parent repository, or %NULL if none</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3558">Repo</doc>
+ line="3588">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
<method name="get_path" c:identifier="ostree_repo_get_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3425">Note that since the introduction of ostree_repo_open_at(), this function may
+ line="3455">Note that since the introduction of ostree_repo_open_at(), this function may
return a process-specific path in `/proc` if the repository was created using
that API. In general, you should avoid use of this API.</doc>
<source-position filename="ostree-repo.h" line="122"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3433">Path to repo</doc>
+ line="3463">Path to repo</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3427">Repo</doc>
+ line="3457">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="934">OSTree remotes are represented by keyfile groups, formatted like:
+ line="936">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a boolean.
If the option is not set, @out_value will be set to @default_value. If an
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="949">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="951">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="936">A OstreeRepo</doc>
+ line="938">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="937">Name</doc>
+ line="939">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="938">Option</doc>
+ line="940">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="939">Value returned if @option_name is not present</doc>
+ line="941">Value returned if @option_name is not present</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="940">location to store the result.</doc>
+ line="942">location to store the result.</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="856">OSTree remotes are represented by keyfile groups, formatted like:
+ line="858">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a zero terminated array of strings.
If the option is not set, or if an error is returned, @out_value will be set
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="872">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="874">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="858">A OstreeRepo</doc>
+ line="860">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="859">Name</doc>
+ line="861">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="860">Option</doc>
+ line="862">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="861">location to store the list
+ line="863">location to store the list
of strings. The list should be freed with
g_strfreev().</doc>
<array c:type="char***">
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="778">OSTree remotes are represented by keyfile groups, formatted like:
+ line="780">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, or @default_value if the remote exists but not the
option name. If an error is returned, @out_value will be set to %NULL.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="792">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="794">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="780">A OstreeRepo</doc>
+ line="782">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="781">Name</doc>
+ line="783">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="782">Option</doc>
+ line="784">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="783">Value returned if @option_name is not present</doc>
+ line="785">Value returned if @option_name is not present</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="784">Return location for value</doc>
+ line="786">Return location for value</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5573">Verify @signatures for @data using GPG keys in the keyring for
+ line="5603">Verify @signatures for @data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.
The @remote_name parameter can be %NULL. In that case it will do
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5590">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5620">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5575">Repository</doc>
+ line="5605">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5576">Name of remote</doc>
+ line="5606">Name of remote</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5577">Data as a #GBytes</doc>
+ line="5607">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5578">Signatures as a #GBytes</doc>
+ line="5608">Signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5579">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5609">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5580">Path to additional keyring file (not a directory)</doc>
+ line="5610">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5581">Cancellable</doc>
+ line="5611">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4180">Set @out_have_object to %TRUE if @self contains the given object;
+ line="4210">Set @out_have_object to %TRUE if @self contains the given object;
%FALSE otherwise.</doc>
<source-position filename="ostree-repo.h" line="385"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4192">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
+ line="4222">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4182">Repo</doc>
+ line="4212">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4183">Object type</doc>
+ line="4213">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4184">ASCII SHA256 checksum</doc>
+ line="4214">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_have_object"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4185">%TRUE if repository contains object</doc>
+ line="4215">%TRUE if repository contains object</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4186">Cancellable</doc>
+ line="4216">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="hash" c:identifier="ostree_repo_hash" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3466">Calculate a hash value for the given open repository, suitable for use when
+ line="3496">Calculate a hash value for the given open repository, suitable for use when
putting it into a hash table. It is an error to call this on an #OstreeRepo
which is not yet open, as a persistent hash value cannot be calculated until
the repository is open and the inode of its root directory has been loaded.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3477">hash value for the #OstreeRepo</doc>
+ line="3507">hash value for the #OstreeRepo</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3468">an #OstreeRepo</doc>
+ line="3498">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4365">Copy object named by @objtype and @checksum into @self from the
+ line="4395">Copy object named by @objtype and @checksum into @self from the
source repository @source. If both repositories are of the same
type and on the same filesystem, this will simply be a fast Unix
hard link operation.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4367">Destination repo</doc>
+ line="4397">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4368">Source repo</doc>
+ line="4398">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4369">Object type</doc>
+ line="4399">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4370">checksum</doc>
+ line="4400">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4371">Cancellable</doc>
+ line="4401">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4394">Copy object named by @objtype and @checksum into @self from the
+ line="4424">Copy object named by @objtype and @checksum into @self from the
source repository @source. If @trusted is %TRUE and both
repositories are of the same type and on the same filesystem,
this will simply be a fast Unix hard link operation.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4396">Destination repo</doc>
+ line="4426">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4397">Source repo</doc>
+ line="4427">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4398">Object type</doc>
+ line="4428">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4399">checksum</doc>
+ line="4429">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4400">If %TRUE, assume the source repo is valid and trusted</doc>
+ line="4430">If %TRUE, assume the source repo is valid and trusted</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4401">Cancellable</doc>
+ line="4431">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1353">%TRUE if this repository is the root-owned system global repository</doc>
+ line="1355">%TRUE if this repository is the root-owned system global repository</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1351">Repository</doc>
+ line="1353">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1383">Returns whether the repository is writable by the current user.
+ line="1385">Returns whether the repository is writable by the current user.
If the repository is not writable, the @error indicates why.</doc>
<source-position filename="ostree-repo.h" line="92"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1391">%TRUE if this repository is writable</doc>
+ line="1393">%TRUE if this repository is writable</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1385">Repo</doc>
+ line="1387">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4587">This function synchronously enumerates all commit objects starting
+ line="4617">This function synchronously enumerates all commit objects starting
with @start, returning data in @out_commits.</doc>
<source-position filename="ostree-repo.h" line="1029"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4599">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4629">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4589">Repo</doc>
+ line="4619">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4590">List commits starting with this checksum</doc>
+ line="4620">List commits starting with this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commits"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4591">
+ line="4621">
Map of serialized commit name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4593">Cancellable</doc>
+ line="4623">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4533">This function synchronously enumerates all objects in the
+ line="4563">This function synchronously enumerates all objects in the
repository, returning data in @out_objects. @out_objects
maps from keys returned by ostree_object_name_serialize()
to #GVariant values of type %OSTREE_REPO_LIST_OBJECTS_VARIANT_TYPE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4547">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4577">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4535">Repo</doc>
+ line="4565">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4536">Flags controlling enumeration</doc>
+ line="4566">Flags controlling enumeration</doc>
<type name="RepoListObjectsFlags"
c:type="OstreeRepoListObjectsFlags"/>
</parameter>
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4537">
+ line="4567">
Map of serialized object name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4539">Cancellable</doc>
+ line="4569">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4509">A version of ostree_repo_load_variant() specialized to commits,
+ line="4539">A version of ostree_repo_load_variant() specialized to commits,
capable of returning extended state information. Currently
the only extended state is %OSTREE_REPO_COMMIT_STATE_PARTIAL, which
means that only a sub-path of the commit is available.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4511">Repo</doc>
+ line="4541">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4512">Commit checksum</doc>
+ line="4542">Commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commit"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4513">Commit</doc>
+ line="4543">Commit</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="out_state"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4514">Commit state</doc>
+ line="4544">Commit state</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState*"/>
</parameter>
</parameters>
<method name="load_file" c:identifier="ostree_repo_load_file" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4019">Load content object, decomposing it into three parts: the actual
+ line="4049">Load content object, decomposing it into three parts: the actual
content (for regular files), the metadata, and extended attributes.</doc>
<source-position filename="ostree-repo.h" line="564"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4021">Repo</doc>
+ line="4051">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4022">ASCII SHA256 checksum</doc>
+ line="4052">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4023">File content</doc>
+ line="4053">File content</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4024">File information</doc>
+ line="4054">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4025">Extended attributes</doc>
+ line="4055">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4026">Cancellable</doc>
+ line="4056">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4080">Load object as a stream; useful when copying objects between
+ line="4110">Load object as a stream; useful when copying objects between
repositories.</doc>
<source-position filename="ostree-repo.h" line="573"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4082">Repo</doc>
+ line="4112">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4083">Object type</doc>
+ line="4113">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4084">ASCII SHA256 checksum</doc>
+ line="4114">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4085">Stream for object</doc>
+ line="4115">Stream for object</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4086">Length of @out_input</doc>
+ line="4116">Length of @out_input</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4087">Cancellable</doc>
+ line="4117">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4487">Load the metadata object @sha256 of type @objtype, storing the
+ line="4517">Load the metadata object @sha256 of type @objtype, storing the
result in @out_variant.</doc>
<source-position filename="ostree-repo.h" line="543"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4489">Repo</doc>
+ line="4519">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4490">Expected object type</doc>
+ line="4520">Expected object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4491">Checksum string</doc>
+ line="4521">Checksum string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4492">Metadata object</doc>
+ line="4522">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4464">Attempt to load the metadata object @sha256 of type @objtype if it
+ line="4494">Attempt to load the metadata object @sha256 of type @objtype if it
exists, storing the result in @out_variant. If it doesn't exist,
%NULL is returned.</doc>
<source-position filename="ostree-repo.h" line="550"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4466">Repo</doc>
+ line="4496">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4467">Object type</doc>
+ line="4497">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4468">ASCII checksum</doc>
+ line="4498">ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4469">Metadata</doc>
+ line="4499">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1930">Commits in the "partial" state do not have all their child objects
+ line="2106">Commits in the "partial" state do not have all their child objects
written. This occurs in various situations, such as during a pull,
but also if a "subpath" pull is used, as well as "commit only"
pulls.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1932">Repo</doc>
+ line="2108">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1933">Commit SHA-256</doc>
+ line="2109">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1934">Whether or not this commit is partial</doc>
+ line="2110">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1879">Allows the setting of a reason code for a partial commit. Presently
+ line="2055">Allows the setting of a reason code for a partial commit. Presently
it only supports setting reason bitmask to
OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL, or
OSTREE_REPO_COMMIT_STATE_NORMAL. This will allow successive ostree
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1881">Repo</doc>
+ line="2057">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1882">Commit SHA-256</doc>
+ line="2058">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1883">Whether or not this commit is partial</doc>
+ line="2059">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="in_state" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1884">Reason bitmask for partial commit</doc>
+ line="2060">Reason bitmask for partial commit</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1558">Starts or resumes a transaction. In order to write to a repo, you
+ line="1734">Starts or resumes a transaction. In order to write to a repo, you
need to start a transaction. You can complete the transaction with
ostree_repo_commit_transaction(), or abort the transaction with
ostree_repo_abort_transaction().
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1560">An #OstreeRepo</doc>
+ line="1736">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_transaction_resume"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1561">Whether this transaction
+ line="1737">Whether this transaction
is resuming from a previous one. This is a legacy state, now OSTree
pulls use per-commit `state/.commitpartial` files.</doc>
<type name="gboolean" c:type="gboolean*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1564">Cancellable</doc>
+ line="1740">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="pull" c:identifier="ostree_repo_pull" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4665">Connect to the remote repository, fetching the specified set of
+ line="4695">Connect to the remote repository, fetching the specified set of
refs @refs_to_fetch. For each ref that is changed, download the
commit, all metadata, and all content objects, storing them safely
on disk in @self.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4667">Repo</doc>
+ line="4697">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4668">Name of remote</doc>
+ line="4698">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4669">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4699">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4670">Options controlling fetch behavior</doc>
+ line="4700">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4671">Progress</doc>
+ line="4701">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4672">Cancellable</doc>
+ line="4702">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4704">This is similar to ostree_repo_pull(), but only fetches a single
+ line="4734">This is similar to ostree_repo_pull(), but only fetches a single
subpath.</doc>
<source-position filename="ostree-repo.h" line="1251"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4706">Repo</doc>
+ line="4736">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4707">Name of remote</doc>
+ line="4737">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="dir_to_pull" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4708">Subdirectory path</doc>
+ line="4738">Subdirectory path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4709">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4739">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4710">Options controlling fetch behavior</doc>
+ line="4740">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4711">Progress</doc>
+ line="4741">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4712">Cancellable</doc>
+ line="4742">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4428">Return the size in bytes of object with checksum @sha256, after any
+ line="4458">Return the size in bytes of object with checksum @sha256, after any
compression has been applied.</doc>
<source-position filename="ostree-repo.h" line="582"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4430">Repo</doc>
+ line="4460">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4431">Object type</doc>
+ line="4461">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4432">Checksum</doc>
+ line="4462">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4433">Size in bytes object occupies physically</doc>
+ line="4463">Size in bytes object occupies physically</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4434">Cancellable</doc>
+ line="4464">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4630">Load the content for @rev into @out_root.</doc>
+ line="4660">Load the content for @rev into @out_root.</doc>
<source-position filename="ostree-repo.h" line="992"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4632">Repo</doc>
+ line="4662">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4633">Ref or ASCII checksum</doc>
+ line="4663">Ref or ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_root"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4634">An #OstreeRepoFile corresponding to the root</doc>
+ line="4664">An #OstreeRepoFile corresponding to the root</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4635">The resolved commit checksum</doc>
+ line="4665">The resolved commit checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4636">Cancellable</doc>
+ line="4666">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2856">OSTree commits can have arbitrary metadata associated; this
+ line="3045">OSTree commits can have arbitrary metadata associated; this
function retrieves them. If none exists, @out_metadata will be set
to %NULL.</doc>
<source-position filename="ostree-repo.h" line="854"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2858">Repo</doc>
+ line="3047">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2859">ASCII SHA256 commit checksum</doc>
+ line="3048">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_metadata"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2860">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
+ line="3049">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2861">Cancellable</doc>
+ line="3050">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5718">An OSTree repository can contain a high level "summary" file that
+ line="5748">An OSTree repository can contain a high level "summary" file that
describes the available branches and other metadata.
If the timetable for making commits and updating the summary file is fairly
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5720">Repo</doc>
+ line="5750">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="additional_metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5721">A GVariant of type a{sv}, or %NULL</doc>
+ line="5751">A GVariant of type a{sv}, or %NULL</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5722">Cancellable</doc>
+ line="5752">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3200">By default, an #OstreeRepo will cache the remote configuration and its
+ line="3230">By default, an #OstreeRepo will cache the remote configuration and its
own repo/config data. This API can be used to reload it.</doc>
<source-position filename="ostree-repo.h" line="147"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3202">repo</doc>
+ line="3232">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3203">cancellable</doc>
+ line="3233">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1650">Create a new remote named @name pointing to @url. If @options is
+ line="1652">Create a new remote named @name pointing to @url. If @options is
provided, then it will be mapped to #GKeyFile entries, where the
GVariant dictionary key is an option string, and the value is
mapped as follows:
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1652">Repo</doc>
+ line="1654">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1653">Name of remote</doc>
+ line="1655">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1654">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="1656">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1655">GVariant of type a{sv}</doc>
+ line="1657">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1656">Cancellable</doc>
+ line="1658">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1838">A combined function handling the equivalent of
+ line="1840">A combined function handling the equivalent of
ostree_repo_remote_add(), ostree_repo_remote_delete(), with more
options.</doc>
<source-position filename="ostree-repo.h" line="183"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1840">Repo</doc>
+ line="1842">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="sysroot"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1841">System root</doc>
+ line="1843">System root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="changeop" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1842">Operation to perform</doc>
+ line="1844">Operation to perform</doc>
<type name="RepoRemoteChange" c:type="OstreeRepoRemoteChange"/>
</parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1843">Name of remote</doc>
+ line="1845">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1844">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="1846">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1845">GVariant of type a{sv}</doc>
+ line="1847">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1846">Cancellable</doc>
+ line="1848">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1736">Delete the remote named @name. It is an error if the provided
+ line="1738">Delete the remote named @name. It is an error if the provided
remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="160"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1738">Repo</doc>
+ line="1740">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1739">Name of remote</doc>
+ line="1741">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1740">Cancellable</doc>
+ line="1742">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2352">Tries to fetch the summary file and any GPG signatures on the summary file
+ line="2354">Tries to fetch the summary file and any GPG signatures on the summary file
over HTTP, and returns the binary data in @out_summary and @out_signatures
respectively.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2377">%TRUE on success, %FALSE on failure</doc>
+ line="2379">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2354">Self</doc>
+ line="2356">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2355">name of a remote</doc>
+ line="2357">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2356">return location for raw summary data, or
+ line="2358">return location for raw summary data, or
%NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2358">return location for raw summary
+ line="2360">return location for raw summary
signature data, or %NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2360">a #GCancellable</doc>
+ line="2362">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1999">Return whether GPG verification is enabled for the remote named @name
+ line="2001">Return whether GPG verification is enabled for the remote named @name
through @out_gpg_verify. It is an error if the provided remote does
not exist.</doc>
<source-position filename="ostree-repo.h" line="1340"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2010">%TRUE on success, %FALSE on failure</doc>
+ line="2012">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2001">Repo</doc>
+ line="2003">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2002">Name of remote</doc>
+ line="2004">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2003">Remote's GPG option</doc>
+ line="2005">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2042">Return whether GPG verification of the summary is enabled for the remote
+ line="2044">Return whether GPG verification of the summary is enabled for the remote
named @name through @out_gpg_verify_summary. It is an error if the provided
remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="1346"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2053">%TRUE on success, %FALSE on failure</doc>
+ line="2055">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2044">Repo</doc>
+ line="2046">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2045">Name of remote</doc>
+ line="2047">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2046">Remote's GPG option</doc>
+ line="2048">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1956">Return the URL of the remote named @name through @out_url. It is an
+ line="1958">Return the URL of the remote named @name through @out_url. It is an
error if the provided remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="197"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1966">%TRUE on success, %FALSE on failure</doc>
+ line="1968">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1958">Repo</doc>
+ line="1960">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1959">Name of remote</doc>
+ line="1961">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1960">Remote's URL</doc>
+ line="1962">Remote's URL</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2074">Imports one or more GPG keys from the open @source_stream, or from the
+ line="2076">Imports one or more GPG keys from the open @source_stream, or from the
user's personal keyring if @source_stream is %NULL. The @key_ids array
can optionally restrict which keys are imported. If @key_ids is %NULL,
then all keys are imported.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2093">%TRUE on success, %FALSE on failure</doc>
+ line="2095">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2076">Self</doc>
+ line="2078">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2077">name of a remote</doc>
+ line="2079">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="source_stream"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2078">a #GInputStream, or %NULL</doc>
+ line="2080">a #GInputStream, or %NULL</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="key_ids"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2079">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
+ line="2081">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
<array c:type="const char* const*">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2080">return location for the number of imported
+ line="2082">return location for the number of imported
keys, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2082">a #GCancellable</doc>
+ line="2084">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="remote_list" c:identifier="ostree_repo_remote_list">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1905">List available remote names in an #OstreeRepo. Remote names are sorted
+ line="1907">List available remote names in an #OstreeRepo. Remote names are sorted
alphabetically. If no remotes are available the function returns %NULL.</doc>
<source-position filename="ostree-repo.h" line="193"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1913">a %NULL-terminated
+ line="1915">a %NULL-terminated
array of remote names</doc>
<array length="0" zero-terminated="0" c:type="char**">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1907">Repo</doc>
+ line="1909">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_n_remotes"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1908">Number of remotes available</doc>
+ line="1910">Number of remotes available</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1521">This function is deprecated in favor of using ostree_repo_devino_cache_new(),
+ line="1697">This function is deprecated in favor of using ostree_repo_devino_cache_new(),
which allows a precise mapping to be built up between hardlink checkout files
and their checksums between `ostree_repo_checkout_at()` and
`ostree_repo_write_directory_to_mtree()`.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1523">An #OstreeRepo</doc>
+ line="1699">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1524">Cancellable</doc>
+ line="1700">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2098">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
+ line="2274">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
<source-position filename="ostree-repo.h" line="370"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2100">An #OstreeRepo</doc>
+ line="2276">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2101">A remote for the ref</doc>
+ line="2277">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2102">The ref to write</doc>
+ line="2278">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="target"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2103">The ref target to point it to, or %NULL to unset</doc>
+ line="2279">The ref target to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2104">GCancellable</doc>
+ line="2280">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3362">Set a custom location for the cache directory used for e.g.
+ line="3392">Set a custom location for the cache directory used for e.g.
per-remote summary caches. Setting this manually is useful when
doing operations on a system repo as a user because you don't have
write permissions in the repo, where the cache is normally stored.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3364">An #OstreeRepo</doc>
+ line="3394">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3365">directory fd</doc>
+ line="3395">directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3366">subpath in @dfd</doc>
+ line="3396">subpath in @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3367">a #GCancellable</doc>
+ line="3397">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6181">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
+ line="6211">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
The update will be made in memory, but must be written out to the repository
configuration on disk using ostree_repo_write_config().</doc>
<source-position filename="ostree-repo.h" line="111"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6191">%TRUE on success, %FALSE otherwise</doc>
+ line="6221">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6183">an #OstreeRepo</doc>
+ line="6213">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="collection_id"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6184">new collection ID, or %NULL to unset it</doc>
+ line="6214">new collection ID, or %NULL to unset it</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2124">This is like ostree_repo_transaction_set_collection_ref(), except it may be
+ line="2300">This is like ostree_repo_transaction_set_collection_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.</doc>
<source-position filename="ostree-repo.h" line="378"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2136">%TRUE on success, %FALSE otherwise</doc>
+ line="2312">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2126">An #OstreeRepo</doc>
+ line="2302">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2127">The collection–ref to write</doc>
+ line="2303">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2128">The checksum to point it to, or %NULL to unset</doc>
+ line="2304">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2129">GCancellable</doc>
+ line="2305">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_set_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3345">Disable requests to fsync() to stable storage during commits. This
+ line="3375">Disable requests to fsync() to stable storage during commits. This
option should only be used by build system tools which are creating
disposable virtual machines, or have higher level mechanisms for
ensuring data consistency.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3347">An #OstreeRepo</doc>
+ line="3377">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="disable_fsync" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3348">If %TRUE, do not fsync</doc>
+ line="3378">If %TRUE, do not fsync</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2070">This is like ostree_repo_transaction_set_ref(), except it may be
+ line="2246">This is like ostree_repo_transaction_set_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2072">An #OstreeRepo</doc>
+ line="2248">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2073">A remote for the ref</doc>
+ line="2249">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2074">The ref to write</doc>
+ line="2250">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2075">The checksum to point it to, or %NULL to unset</doc>
+ line="2251">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2076">GCancellable</doc>
+ line="2252">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5035">Add a GPG signature to a commit.</doc>
+ line="5065">Add a GPG signature to a commit.</doc>
<source-position filename="ostree-repo.h" line="1314"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5037">Self</doc>
+ line="5067">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5038">SHA256 of given commit to sign</doc>
+ line="5068">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5039">Use this GPG key id</doc>
+ line="5069">Use this GPG key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5040">GPG home directory, or %NULL</doc>
+ line="5070">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5041">A #GCancellable</doc>
+ line="5071">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5124">This function is deprecated, sign the summary file instead.
+ line="5154">This function is deprecated, sign the summary file instead.
Add a GPG signature to a static delta.</doc>
<source-position filename="ostree-repo.h" line="1322"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5126">Self</doc>
+ line="5156">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="from_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5127">From commit</doc>
+ line="5157">From commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="to_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5128">To commit</doc>
+ line="5158">To commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5129">key id</doc>
+ line="5159">key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5130">homedir</doc>
+ line="5160">homedir</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5131">cancellable</doc>
+ line="5161">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2032">If @checksum is not %NULL, then record it as the target of local ref named
+ line="2208">If @checksum is not %NULL, then record it as the target of local ref named
@ref.
Otherwise, if @checksum is %NULL, then record that the ref should
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2034">An #OstreeRepo</doc>
+ line="2210">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2035">The collection–ref to write</doc>
+ line="2211">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2036">The checksum to point it to</doc>
+ line="2212">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_ref">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1983">If @checksum is not %NULL, then record it as the target of ref named
+ line="2159">If @checksum is not %NULL, then record it as the target of ref named
@ref; if @remote is provided, the ref will appear to originate from that
remote.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1985">An #OstreeRepo</doc>
+ line="2161">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1986">A remote for the ref</doc>
+ line="2162">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1987">The ref to write</doc>
+ line="2163">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1988">The checksum to point it to</doc>
+ line="2164">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_refspec">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1958">Like ostree_repo_transaction_set_ref(), but takes concatenated
+ line="2134">Like ostree_repo_transaction_set_ref(), but takes concatenated
@refspec format as input instead of separate remote and name
arguments.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1960">An #OstreeRepo</doc>
+ line="2136">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1961">The refspec to write</doc>
+ line="2137">The refspec to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1962">The checksum to point it to</doc>
+ line="2138">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5455">Check for a valid GPG signature on commit named by the ASCII
+ line="5485">Check for a valid GPG signature on commit named by the ASCII
checksum @commit_checksum.</doc>
<source-position filename="ostree-repo.h" line="1332"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5467">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
+ line="5497">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5457">Repository</doc>
+ line="5487">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5458">ASCII SHA256 checksum</doc>
+ line="5488">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5459">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5489">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5460">Path to additional keyring file (not a directory)</doc>
+ line="5490">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5461">Cancellable</doc>
+ line="5491">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5496">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5526">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results.</doc>
<source-position filename="ostree-repo.h" line="1374"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5508">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5538">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5498">Repository</doc>
+ line="5528">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5499">ASCII SHA256 checksum</doc>
+ line="5529">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5500">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5530">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5501">Path to additional keyring file (not a directory)</doc>
+ line="5531">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5502">Cancellable</doc>
+ line="5532">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5534">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5564">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results, based on the keyring
configured for @remote.</doc>
<source-position filename="ostree-repo.h" line="1383"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5546">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5576">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5536">Repository</doc>
+ line="5566">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5537">ASCII SHA256 checksum</doc>
+ line="5567">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5538">OSTree remote to use for configuration</doc>
+ line="5568">OSTree remote to use for configuration</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5539">Cancellable</doc>
+ line="5569">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5625">Verify @signatures for @summary data using GPG keys in the keyring for
+ line="5655">Verify @signatures for @summary data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.</doc>
<source-position filename="ostree-repo.h" line="1400"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5637">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5667">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5627">Repo</doc>
+ line="5657">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5628">Name of remote</doc>
+ line="5658">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="summary" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5629">Summary data as a #GBytes</doc>
+ line="5659">Summary data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5630">Summary signatures as a #GBytes</doc>
+ line="5660">Summary signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5631">Cancellable</doc>
+ line="5661">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="935">Import an archive file @archive into the repository, and write its
+ line="937">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
<source-position filename="ostree-repo.h" line="722"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="937">An #OstreeRepo</doc>
+ line="939">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="archive" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="938">A path to an archive file</doc>
+ line="940">A path to an archive file</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="939">The #OstreeMutableTree to write to</doc>
+ line="941">The #OstreeMutableTree to write to</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="940">Optional commit modifier</doc>
+ line="942">Optional commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
<parameter name="autocreate_parents" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="941">Autocreate parent directories</doc>
+ line="943">Autocreate parent directories</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="942">Cancellable</doc>
+ line="944">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="970">Read an archive from @fd and import it into the repository, writing
+ line="972">Read an archive from @fd and import it into the repository, writing
its file structure to @mtree.</doc>
<source-position filename="ostree-repo.h" line="732"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="972">An #OstreeRepo</doc>
+ line="974">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="973">A file descriptor to read the archive from</doc>
+ line="975">A file descriptor to read the archive from</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="974">The #OstreeMutableTree to write to</doc>
+ line="976">The #OstreeMutableTree to write to</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="975">Optional commit modifier</doc>
+ line="977">Optional commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
<parameter name="autocreate_parents" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="976">Autocreate parent directories</doc>
+ line="978">Autocreate parent directories</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="977">Cancellable</doc>
+ line="979">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2770">Write a commit metadata object, referencing @root_contents_checksum
+ line="2959">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
<source-position filename="ostree-repo.h" line="831"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2772">Repo</doc>
+ line="2961">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2773">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="2962">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2774">Subject</doc>
+ line="2963">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2775">Body</doc>
+ line="2964">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2776">GVariant of type a{sv}, or %NULL for none</doc>
+ line="2965">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2777">The tree to point the commit to</doc>
+ line="2966">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2778">Resulting ASCII SHA256 checksum for commit</doc>
+ line="2967">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2779">Cancellable</doc>
+ line="2968">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2904">Replace any existing metadata associated with commit referred to by
+ line="3093">Replace any existing metadata associated with commit referred to by
@checksum with @metadata. If @metadata is %NULL, then existing
data will be deleted.</doc>
<source-position filename="ostree-repo.h" line="861"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2906">Repo</doc>
+ line="3095">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2907">ASCII SHA256 commit checksum</doc>
+ line="3096">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2908">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
+ line="3097">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2909">Cancellable</doc>
+ line="3098">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2802">Write a commit metadata object, referencing @root_contents_checksum
+ line="2991">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
<source-position filename="ostree-repo.h" line="842"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2804">Repo</doc>
+ line="2993">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2805">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="2994">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2806">Subject</doc>
+ line="2995">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2807">Body</doc>
+ line="2996">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2808">GVariant of type a{sv}, or %NULL for none</doc>
+ line="2997">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2809">The tree to point the commit to</doc>
+ line="2998">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="time" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2810">The time to use to stamp the commit</doc>
+ line="2999">The time to use to stamp the commit</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2811">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3000">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2812">Cancellable</doc>
+ line="3001">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1462">Save @new_config in place of this repository's config file.</doc>
+ line="1464">Save @new_config in place of this repository's config file.</doc>
<source-position filename="ostree-repo.h" line="247"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1464">Repo</doc>
+ line="1466">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="new_config" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1465">Overwrite the config file with this data</doc>
+ line="1467">Overwrite the config file with this data</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2598">Store the content object streamed as @object_input,
+ line="2784">Store the content object streamed as @object_input,
with total length @length. The actual checksum will
be returned as @out_csum.</doc>
<source-position filename="ostree-repo.h" line="417"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2600">Repo</doc>
+ line="2786">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2601">If provided, validate content against this checksum</doc>
+ line="2787">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2602">Content object stream</doc>
+ line="2788">Content object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2603">Length of @object_input</doc>
+ line="2789">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2604">Binary checksum</doc>
+ line="2790">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2605">Cancellable</doc>
+ line="2791">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_content_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2693">Asynchronously store the content object @object. If provided, the
+ line="2882">Asynchronously store the content object @object. If provided, the
checksum @expected_checksum will be verified.</doc>
<source-position filename="ostree-repo.h" line="451"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2695">Repo</doc>
+ line="2884">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2696">If provided, validate content against this checksum</doc>
+ line="2885">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2697">Input</doc>
+ line="2886">Input</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2698">Length of @object</doc>
+ line="2887">Length of @object</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2699">Cancellable</doc>
+ line="2888">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2700">Invoked when content is writed</doc>
+ line="2889">Invoked when content is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2701">User data for @callback</doc>
+ line="2890">User data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2734">Completes an invocation of ostree_repo_write_content_async().</doc>
+ line="2923">Completes an invocation of ostree_repo_write_content_async().</doc>
<source-position filename="ostree-repo.h" line="460"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2736">a #OstreeRepo</doc>
+ line="2925">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2737">a #GAsyncResult</doc>
+ line="2926">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2738">A binary SHA256 checksum of the content object</doc>
+ line="2927">A binary SHA256 checksum of the content object</doc>
<type name="guint8" c:type="guchar**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2571">Store the content object streamed as @object_input, with total
+ line="2757">Store the content object streamed as @object_input, with total
length @length. The given @checksum will be treated as trusted.
This function should be used when importing file objects from local
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2573">Repo</doc>
+ line="2759">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2574">Store content using this ASCII SHA256 checksum</doc>
+ line="2760">Store content using this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2575">Content stream</doc>
+ line="2761">Content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2576">Length of @object_input</doc>
+ line="2762">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2577">Cancellable</doc>
+ line="2763">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3863">Store as objects all contents of the directory referred to by @dfd
+ line="4051">Store as objects all contents of the directory referred to by @dfd
and @path all children into the repository @self, overlaying the
resulting filesystem hierarchy into @mtree.</doc>
<source-position filename="ostree-repo.h" line="712"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3865">Repo</doc>
+ line="4053">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3866">Directory file descriptor</doc>
+ line="4054">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3867">Path</doc>
+ line="4055">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3868">Overlay directory contents into this tree</doc>
+ line="4056">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3869">Optional modifier</doc>
+ line="4057">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3870">Cancellable</doc>
+ line="4058">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3821">Store objects for @dir and all children into the repository @self,
+ line="4010">Store objects for @dir and all children into the repository @self,
overlaying the resulting filesystem hierarchy into @mtree.</doc>
<source-position filename="ostree-repo.h" line="704"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3823">Repo</doc>
+ line="4012">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3824">Path to a directory</doc>
+ line="4013">Path to a directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3825">Overlay directory contents into this tree</doc>
+ line="4014">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3826">Optional modifier</doc>
+ line="4015">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3827">Cancellable</doc>
+ line="4016">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2311">Store the metadata object @object. Return the checksum
+ line="2487">Store the metadata object @object. Return the checksum
as @out_csum.
If @expected_checksum is not %NULL, verify it against the
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2313">Repo</doc>
+ line="2489">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2314">Object type</doc>
+ line="2490">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2315">If provided, validate content against this checksum</doc>
+ line="2491">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2316">Metadata</doc>
+ line="2492">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2317">Binary checksum</doc>
+ line="2493">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2318">Cancellable</doc>
+ line="2494">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_metadata_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2480">Asynchronously store the metadata object @variant. If provided,
+ line="2666">Asynchronously store the metadata object @variant. If provided,
the checksum @expected_checksum will be verified.</doc>
<source-position filename="ostree-repo.h" line="402"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2482">Repo</doc>
+ line="2668">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2483">Object type</doc>
+ line="2669">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2484">If provided, validate content against this checksum</doc>
+ line="2670">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2485">Metadata</doc>
+ line="2671">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2486">Cancellable</doc>
+ line="2672">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2487">Invoked when metadata is writed</doc>
+ line="2673">Invoked when metadata is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2488">Data for @callback</doc>
+ line="2674">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2521">Complete a call to ostree_repo_write_metadata_async().</doc>
+ line="2707">Complete a call to ostree_repo_write_metadata_async().</doc>
<source-position filename="ostree-repo.h" line="411"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2523">Repo</doc>
+ line="2709">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2524">Result</doc>
+ line="2710">Result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2525">Binary checksum value</doc>
+ line="2711">Binary checksum value</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2378">Store the metadata object @variant; the provided @checksum is
+ line="2564">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
<source-position filename="ostree-repo.h" line="434"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2380">Repo</doc>
+ line="2566">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2381">Object type</doc>
+ line="2567">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2382">Store object with this ASCII SHA256 checksum</doc>
+ line="2568">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2383">Metadata object stream</doc>
+ line="2569">Metadata object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2384">Length, may be 0 for unknown</doc>
+ line="2570">Length, may be 0 for unknown</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2385">Cancellable</doc>
+ line="2571">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2415">Store the metadata object @variant; the provided @checksum is
+ line="2601">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
<source-position filename="ostree-repo.h" line="426"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2417">Repo</doc>
+ line="2603">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2418">Object type</doc>
+ line="2604">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2419">Store object with this ASCII SHA256 checksum</doc>
+ line="2605">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2420">Metadata object</doc>
+ line="2606">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2421">Cancellable</doc>
+ line="2607">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3914">Write all metadata objects for @mtree to repo; the resulting
+ line="4101">Write all metadata objects for @mtree to repo; the resulting
@out_file points to the %OSTREE_OBJECT_TYPE_DIR_TREE object that
the @mtree represented.</doc>
<source-position filename="ostree-repo.h" line="824"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3916">Repo</doc>
+ line="4103">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3917">Mutable tree</doc>
+ line="4104">Mutable tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="out_file"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3918">An #OstreeRepoFile representing @mtree's root.</doc>
+ line="4105">An #OstreeRepoFile representing @mtree's root.</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3919">Cancellable</doc>
+ line="4106">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1124">Path to repository. Note that if this repository was created
+ line="1126">Path to repository. Note that if this repository was created
via `ostree_repo_new_at()`, this value will refer to a value in
the Linux kernel's `/proc/self/fd` directory. Generally, you
should avoid using this property at all; you can gain a reference
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1157">Path to directory containing remote definitions. The default is `NULL`.
+ line="1159">Path to directory containing remote definitions. The default is `NULL`.
If a `sysroot-path` property is defined, this value will default to
`${sysroot_path}/etc/ostree/remotes.d`.
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1139">A system using libostree for the host has a "system" repository; this
+ line="1141">A system using libostree for the host has a "system" repository; this
property will be set for repositories referenced via
`ostree_sysroot_repo()` for example.
<glib:signal name="gpg-verify-result" when="last">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1175">Emitted during a pull operation upon GPG verification (if enabled).
+ line="1177">Emitted during a pull operation upon GPG verification (if enabled).
Applications can connect to this signal to output the verification
results if desired.
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1178">checksum of the signed object</doc>
+ line="1180">checksum of the signed object</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1179">an #OstreeGpgVerifyResult</doc>
+ line="1181">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4002">A new commit modifier.</doc>
+ line="4189">A new commit modifier.</doc>
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3997">Control options for filter</doc>
+ line="4184">Control options for filter</doc>
<type name="RepoCommitModifierFlags"
c:type="OstreeRepoCommitModifierFlags"/>
</parameter>
destroy="3">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3998">Function that can inspect individual files</doc>
+ line="4185">Function that can inspect individual files</doc>
<type name="RepoCommitFilter" c:type="OstreeRepoCommitFilter"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3999">User data</doc>
+ line="4186">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_notify"
scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4000">A #GDestroyNotify</doc>
+ line="4187">A #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
version="2017.13">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4095">See the documentation for
+ line="4282">See the documentation for
`ostree_repo_devino_cache_new()`. This function can
then be used for later calls to
`ostree_repo_write_directory_to_mtree()` to optimize commits.
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4097">Modifier</doc>
+ line="4284">Modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="cache" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4098">A hash table caching device,inode to checksums</doc>
+ line="4285">A hash table caching device,inode to checksums</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_modifier_set_sepolicy">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4073">If @policy is non-%NULL, use it to look up labels to use for
+ line="4260">If @policy is non-%NULL, use it to look up labels to use for
"security.selinux" extended attributes.
Note that any policy specified this way operates in addition to any
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4075">An #OstreeRepoCommitModifier</doc>
+ line="4262">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4076">Policy to use for labeling</doc>
+ line="4263">Policy to use for labeling</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_modifier_set_xattr_callback">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4050">If set, this function should return extended attributes to use for
+ line="4237">If set, this function should return extended attributes to use for
the given path. This is useful for things like ACLs and SELinux,
where a build system can label the files as it's committing to the
repository.</doc>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4052">An #OstreeRepoCommitModifier</doc>
+ line="4239">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
destroy="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4053">Function to be invoked, should return extended attributes for path</doc>
+ line="4240">Function to be invoked, should return extended attributes for path</doc>
<type name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4054">Destroy notification</doc>
+ line="4241">Destroy notification</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4055">Data for @callback:</doc>
+ line="4242">Data for @callback:</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</constructor>
<function name="get_deployment_origin_path"
c:identifier="ostree_sysroot_get_deployment_origin_path">
- <source-position filename="ostree-sysroot.h" line="89"/>
+ <source-position filename="ostree-sysroot.h" line="99"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1125">Path to deployment origin file</doc>
+ line="1231">Path to deployment origin file</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<parameter name="deployment_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1123">A deployment path</doc>
+ line="1229">A deployment path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
<method name="cleanup" c:identifier="ostree_sysroot_cleanup" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="497">Delete any state that resulted from a partially completed
+ line="500">Delete any state that resulted from a partially completed
transaction, such as incomplete deployments.</doc>
- <source-position filename="ostree-sysroot.h" line="116"/>
+ <source-position filename="ostree-sysroot.h" line="130"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="499">Sysroot</doc>
+ line="502">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="500">Cancellable</doc>
+ line="503">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
flag in @options. A commit traversal depth of `0` is assumed.
Locking: exclusive</doc>
- <source-position filename="ostree-sysroot.h" line="127"/>
+ <source-position filename="ostree-sysroot.h" line="141"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2690">Check out deployment tree with revision @revision, performing a 3
+ line="2737">Check out deployment tree with revision @revision, performing a 3
way merge with @provided_merge_deployment for configuration.
While this API is not deprecated, you most likely want to use the
ostree_sysroot_stage_tree() API.</doc>
- <source-position filename="ostree-sysroot.h" line="179"/>
+ <source-position filename="ostree-sysroot.h" line="193"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2692">Sysroot</doc>
+ line="2739">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2693">osname to use for merge deployment</doc>
+ line="2740">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2694">Checksum to add</doc>
+ line="2741">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2695">Origin to use for upgrades</doc>
+ line="2742">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="provided_merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2696">Use this deployment for merge path</doc>
+ line="2743">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2697">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="2744">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2698">The new deployment path</doc>
+ line="2745">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2699">Cancellable</doc>
+ line="2746">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3028">Entirely replace the kernel arguments of @deployment with the
+ line="3081">Entirely replace the kernel arguments of @deployment with the
values in @new_kargs.</doc>
- <source-position filename="ostree-sysroot.h" line="152"/>
+ <source-position filename="ostree-sysroot.h" line="166"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3030">Sysroot</doc>
+ line="3083">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3031">A deployment</doc>
+ line="3084">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3032">Replace deployment's kernel arguments</doc>
+ line="3085">Replace deployment's kernel arguments</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3033">Cancellable</doc>
+ line="3086">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3074">By default, deployment directories are not mutable. This function
+ line="3130">By default, deployment directories are not mutable. This function
will allow making them temporarily mutable, for example to allow
layering additional non-OSTree content.</doc>
- <source-position filename="ostree-sysroot.h" line="201"/>
+ <source-position filename="ostree-sysroot.h" line="215"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3076">Sysroot</doc>
+ line="3132">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3077">A deployment</doc>
+ line="3133">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="is_mutable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3078">Whether or not deployment's files can be changed</doc>
+ line="3134">Whether or not deployment's files can be changed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3079">Cancellable</doc>
+ line="3135">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1938">By default, deployments may be subject to garbage collection. Typical uses of
+ line="2050">By default, deployments may be subject to garbage collection. Typical uses of
libostree only retain at most 2 deployments. If @is_pinned is `TRUE`, a
metadata bit will be set causing libostree to avoid automatic GC of the
deployment. However, this is really an "advisory" note; it's still possible
This function does nothing and returns successfully if the deployment
is already in the desired pinning state. It is an error to try to pin
the staged deployment (as it's not in the bootloader entries).</doc>
- <source-position filename="ostree-sysroot.h" line="208"/>
+ <source-position filename="ostree-sysroot.h" line="222"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1940">Sysroot</doc>
+ line="2052">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1941">A deployment</doc>
+ line="2053">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="is_pinned" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1942">Whether or not deployment will be automatically GC'd</doc>
+ line="2054">Whether or not deployment will be automatically GC'd</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1742">Configure the target deployment @deployment such that it
+ line="1854">Configure the target deployment @deployment such that it
is writable. There are multiple modes, essentially differing
in whether or not any changes persist across reboot.
The `OSTREE_DEPLOYMENT_UNLOCKED_HOTFIX` state is persistent
across reboots.</doc>
- <source-position filename="ostree-sysroot.h" line="214"/>
+ <source-position filename="ostree-sysroot.h" line="228"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1744">Sysroot</doc>
+ line="1856">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1745">Deployment</doc>
+ line="1857">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="unlocked_state" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1746">Transition to this unlocked state</doc>
+ line="1858">Transition to this unlocked state</doc>
<type name="DeploymentUnlockedState"
c:type="OstreeDeploymentUnlockedState"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1747">Cancellable</doc>
+ line="1859">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="301">Ensure that @self is set up as a valid rootfs, by creating
+ line="383">Ensure that @self is set up as a valid rootfs, by creating
/ostree/repo, among other things.</doc>
- <source-position filename="ostree-sysroot.h" line="65"/>
+ <source-position filename="ostree-sysroot.h" line="75"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="303">Sysroot</doc>
+ line="385">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="304">Cancellable</doc>
+ line="386">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="get_booted_deployment"
c:identifier="ostree_sysroot_get_booted_deployment">
- <source-position filename="ostree-sysroot.h" line="76"/>
+ <source-position filename="ostree-sysroot.h" line="86"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1042">The currently booted deployment, or %NULL if none</doc>
+ line="1148">The currently booted deployment, or %NULL if none</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1040">Sysroot</doc>
+ line="1146">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_bootversion"
c:identifier="ostree_sysroot_get_bootversion">
- <source-position filename="ostree-sysroot.h" line="70"/>
+ <source-position filename="ostree-sysroot.h" line="80"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
</method>
<method name="get_deployment_directory"
c:identifier="ostree_sysroot_get_deployment_directory">
- <source-position filename="ostree-sysroot.h" line="81"/>
+ <source-position filename="ostree-sysroot.h" line="91"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1111">Path to deployment root directory</doc>
+ line="1217">Path to deployment root directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1108">Sysroot</doc>
+ line="1214">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1109">A deployment</doc>
+ line="1215">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
</parameters>
c:identifier="ostree_sysroot_get_deployment_dirpath">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1085">Note this function only returns a *relative* path - if you want
+ line="1191">Note this function only returns a *relative* path - if you want
to access, it, you must either use fd-relative api such as openat(),
or concatenate it with the full ostree_sysroot_get_path().</doc>
- <source-position filename="ostree-sysroot.h" line="85"/>
+ <source-position filename="ostree-sysroot.h" line="95"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1094">Path to deployment root directory, relative to sysroot</doc>
+ line="1200">Path to deployment root directory, relative to sysroot</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1087">Repo</doc>
+ line="1193">Repo</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1088">A deployment</doc>
+ line="1194">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
</parameters>
</method>
<method name="get_deployments"
c:identifier="ostree_sysroot_get_deployments">
- <source-position filename="ostree-sysroot.h" line="74"/>
+ <source-position filename="ostree-sysroot.h" line="84"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1072">Ordered list of deployments</doc>
+ line="1178">Ordered list of deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1070">Sysroot</doc>
+ line="1176">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="get_fd" c:identifier="ostree_sysroot_get_fd">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="254">Access a file descriptor that refers to the root directory of this
-sysroot. ostree_sysroot_load() must have been invoked prior to
-calling this function.</doc>
- <source-position filename="ostree-sysroot.h" line="48"/>
+ line="320">Access a file descriptor that refers to the root directory of this sysroot.
+ostree_sysroot_initialize() (or ostree_sysroot_load()) must have been invoked
+prior to calling this function.</doc>
+ <source-position filename="ostree-sysroot.h" line="54"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="262">A file descriptor valid for the lifetime of @self</doc>
+ line="328">A file descriptor valid for the lifetime of @self</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="256">Sysroot</doc>
+ line="322">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_sysroot_get_merge_deployment">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1303">Find the deployment to use as a configuration merge source; this is
+ line="1409">Find the deployment to use as a configuration merge source; this is
the first one in the current deployment list which matches osname.</doc>
- <source-position filename="ostree-sysroot.h" line="227"/>
+ <source-position filename="ostree-sysroot.h" line="241"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1311">Configuration merge deployment</doc>
+ line="1417">Configuration merge deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1305">Sysroot</doc>
+ line="1411">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1306">Operating system group</doc>
+ line="1412">Operating system group</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="get_path" c:identifier="ostree_sysroot_get_path">
- <source-position filename="ostree-sysroot.h" line="45"/>
+ <source-position filename="ostree-sysroot.h" line="48"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="233">Path to rootfs</doc>
+ line="260">Path to rootfs</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1136">Retrieve the OSTree repository in sysroot @self. The repo is guaranteed to be open
+ line="1242">Retrieve the OSTree repository in sysroot @self. The repo is guaranteed to be open
(see ostree_repo_open()).</doc>
- <source-position filename="ostree-sysroot.h" line="146"/>
+ <source-position filename="ostree-sysroot.h" line="160"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1146">%TRUE on success, %FALSE otherwise</doc>
+ line="1252">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1138">Sysroot</doc>
+ line="1244">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_repo"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1139">Repository in sysroot @self</doc>
+ line="1245">Repository in sysroot @self</doc>
<type name="Repo" c:type="OstreeRepo**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1140">Cancellable</doc>
+ line="1246">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="get_staged_deployment"
c:identifier="ostree_sysroot_get_staged_deployment"
version="2018.5">
- <source-position filename="ostree-sysroot.h" line="78"/>
+ <source-position filename="ostree-sysroot.h" line="88"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1056">The currently staged deployment, or %NULL if none</doc>
+ line="1162">The currently staged deployment, or %NULL if none</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1054">Sysroot</doc>
+ line="1160">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subbootversion"
c:identifier="ostree_sysroot_get_subbootversion">
- <source-position filename="ostree-sysroot.h" line="72"/>
+ <source-position filename="ostree-sysroot.h" line="82"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1493">Initialize the directory structure for an "osname", which is a
+ line="1605">Initialize the directory structure for an "osname", which is a
group of operating system deployments, with a shared `/var`. One
is required for generating a deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="110"/>
+ <source-position filename="ostree-sysroot.h" line="124"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1495">Sysroot</doc>
+ line="1607">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1496">Name group of operating system checkouts</doc>
+ line="1608">Name group of operating system checkouts</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1497">Cancellable</doc>
+ line="1609">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
+ <method name="initialize"
+ c:identifier="ostree_sysroot_initialize"
+ version="2020.1"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="883">Subset of ostree_sysroot_load(); performs basic initialization. Notably, one
+can invoke `ostree_sysroot_get_fd()` after calling this function.
+
+It is not necessary to call this function if ostree_sysroot_load() is
+invoked.</doc>
+ <source-position filename="ostree-sysroot.h" line="57"/>
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="885">sysroot</doc>
+ <type name="Sysroot" c:type="OstreeSysroot*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
+ <method name="is_booted"
+ c:identifier="ostree_sysroot_is_booted"
+ version="2020.1">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="337">Can only be invoked after `ostree_sysroot_initialize()`.</doc>
+ <source-position filename="ostree-sysroot.h" line="51"/>
+ <return-value transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="343">%TRUE iff the sysroot points to a booted deployment</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="339">Sysroot</doc>
+ <type name="Sysroot" c:type="OstreeSysroot*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
<method name="load" c:identifier="ostree_sysroot_load" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="757">Load deployment list, bootversion, and subbootversion from the
+ line="839">Load deployment list, bootversion, and subbootversion from the
rootfs @self.</doc>
- <source-position filename="ostree-sysroot.h" line="51"/>
+ <source-position filename="ostree-sysroot.h" line="61"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="759">Sysroot</doc>
+ line="841">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="760">Cancellable</doc>
+ line="842">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_sysroot_load_if_changed"
version="2016.4"
throws="1">
- <source-position filename="ostree-sysroot.h" line="56"/>
+ <source-position filename="ostree-sysroot.h" line="66"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="860">#OstreeSysroot</doc>
+ line="993">#OstreeSysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_changed"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="862">Cancellable</doc>
+ line="995">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="lock" c:identifier="ostree_sysroot_lock" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1353">Acquire an exclusive multi-process write lock for @self. This call
+ line="1459">Acquire an exclusive multi-process write lock for @self. This call
blocks until the lock has been acquired. The lock is not
reentrant.
Release the lock with ostree_sysroot_unlock(). The lock will also
be released if @self is deallocated.</doc>
- <source-position filename="ostree-sysroot.h" line="92"/>
+ <source-position filename="ostree-sysroot.h" line="102"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1355">Self</doc>
+ line="1461">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="lock_async" c:identifier="ostree_sysroot_lock_async">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1457">An asynchronous version of ostree_sysroot_lock().</doc>
- <source-position filename="ostree-sysroot.h" line="98"/>
+ line="1569">An asynchronous version of ostree_sysroot_lock().</doc>
+ <source-position filename="ostree-sysroot.h" line="112"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1459">Self</doc>
+ line="1571">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1460">Cancellable</doc>
+ line="1572">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="2">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1461">Callback</doc>
+ line="1573">Callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1462">User data</doc>
+ line="1574">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1476">Call when ostree_sysroot_lock_async() is ready.</doc>
- <source-position filename="ostree-sysroot.h" line="103"/>
+ line="1588">Call when ostree_sysroot_lock_async() is ready.</doc>
+ <source-position filename="ostree-sysroot.h" line="117"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1478">Self</doc>
+ line="1590">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1479">Result</doc>
+ line="1591">Result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
+ <method name="lock_with_mount_namespace"
+ c:identifier="ostree_sysroot_lock_with_mount_namespace"
+ throws="1">
+ <source-position filename="ostree-sysroot.h" line="105"/>
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <type name="Sysroot" c:type="OstreeSysroot*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
<method name="origin_new_from_refspec"
c:identifier="ostree_sysroot_origin_new_from_refspec">
- <source-position filename="ostree-sysroot.h" line="232"/>
+ <source-position filename="ostree-sysroot.h" line="246"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1342">A new config file which sets @refspec as an origin</doc>
+ line="1448">A new config file which sets @refspec as an origin</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1339">Sysroot</doc>
+ line="1445">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1340">A refspec</doc>
+ line="1446">A refspec</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="514">Like ostree_sysroot_cleanup() in that it cleans up incomplete deployments
+ line="517">Like ostree_sysroot_cleanup() in that it cleans up incomplete deployments
and old boot versions, but does NOT prune the repository.</doc>
- <source-position filename="ostree-sysroot.h" line="121"/>
+ <source-position filename="ostree-sysroot.h" line="135"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="516">Sysroot</doc>
+ line="519">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="517">Cancellable</doc>
+ line="520">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2017.7">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1246">Find the pending and rollback deployments for @osname. Pass %NULL for @osname
+ line="1352">Find the pending and rollback deployments for @osname. Pass %NULL for @osname
to use the booted deployment's osname. By default, pending deployment is the
first deployment in the order that matches @osname, and @rollback will be the
next one after the booted deployment, or the deployment after the pending if
we're not looking at the booted deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="221"/>
+ <source-position filename="ostree-sysroot.h" line="235"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1248">Sysroot</doc>
+ line="1354">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1249">"stateroot" name</doc>
+ line="1355">"stateroot" name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_pending"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1250">The pending deployment</doc>
+ line="1356">The pending deployment</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="out_rollback"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1251">The rollback deployment</doc>
+ line="1357">The rollback deployment</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
</parameters>
<method name="repo" c:identifier="ostree_sysroot_repo" version="2017.7">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1161">This function is a variant of ostree_sysroot_get_repo() that cannot fail, and
-returns a cached repository. Can only be called after ostree_sysroot_load()
-has been invoked successfully.</doc>
- <source-position filename="ostree-sysroot.h" line="143"/>
+ line="1267">This function is a variant of ostree_sysroot_get_repo() that cannot fail, and
+returns a cached repository. Can only be called after ostree_sysroot_initialize()
+or ostree_sysroot_load() has been invoked successfully.</doc>
+ <source-position filename="ostree-sysroot.h" line="157"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1169">The OSTree repository in sysroot @self.</doc>
+ line="1275">The OSTree repository in sysroot @self.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1163">Sysroot</doc>
+ line="1269">Sysroot</doc>
+ <type name="Sysroot" c:type="OstreeSysroot*"/>
+ </instance-parameter>
+ </parameters>
+ </method>
+ <method name="set_mount_namespace_in_use"
+ c:identifier="ostree_sysroot_set_mount_namespace_in_use"
+ version="2020.1">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="229">If this function is invoked, then libostree will assume that
+a private Linux mount namespace has been created by the process.
+The primary use case for this is to have e.g. /sysroot mounted
+read-only by default.
+
+If this function has been called, then when a function which requires
+writable access is invoked, libostree will automatically remount as writable
+any mount points on which it operates. This currently is just `/sysroot` and
+`/boot`.
+
+If you invoke this function, it must be before ostree_sysroot_load(); it may
+be invoked before or after ostree_sysroot_initialize().</doc>
+ <source-position filename="ostree-sysroot.h" line="45"/>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1557">Prepend @new_deployment to the list of deployments, commit, and
+ line="1669">Prepend @new_deployment to the list of deployments, commit, and
cleanup. By default, all other deployments for the given @osname
except the merge deployment and the booted deployment will be
garbage collected.
specified, then no cleanup will be performed after adding the
deployment. Make sure to call ostree_sysroot_cleanup() sometime
later, instead.</doc>
- <source-position filename="ostree-sysroot.h" line="245"/>
+ <source-position filename="ostree-sysroot.h" line="259"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1559">Sysroot</doc>
+ line="1671">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1560">OS name</doc>
+ line="1672">OS name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="new_deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1561">Prepend this deployment to the list</doc>
+ line="1673">Prepend this deployment to the list</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1562">Use this deployment for configuration merge</doc>
+ line="1674">Use this deployment for configuration merge</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1563">Flags controlling behavior</doc>
+ line="1675">Flags controlling behavior</doc>
<type name="SysrootSimpleWriteDeploymentFlags"
c:type="OstreeSysrootSimpleWriteDeploymentFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1564">Cancellable</doc>
+ line="1676">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2792">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
+ line="2842">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
shutdown time.</doc>
- <source-position filename="ostree-sysroot.h" line="190"/>
+ <source-position filename="ostree-sysroot.h" line="204"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2794">Sysroot</doc>
+ line="2844">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2795">osname to use for merge deployment</doc>
+ line="2845">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2796">Checksum to add</doc>
+ line="2846">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2797">Origin to use for upgrades</doc>
+ line="2847">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2798">Use this deployment for merge path</doc>
+ line="2848">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2799">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="2849">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2800">The new deployment path</doc>
+ line="2850">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2801">Cancellable</doc>
+ line="2851">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1375">Try to acquire an exclusive multi-process write lock for @self. If
+ line="1485">Try to acquire an exclusive multi-process write lock for @self. If
another process holds the lock, this function will return
immediately, setting @out_acquired to %FALSE, and returning %TRUE
(and no error).
Release the lock with ostree_sysroot_unlock(). The lock will also
be released if @self is deallocated.</doc>
- <source-position filename="ostree-sysroot.h" line="94"/>
+ <source-position filename="ostree-sysroot.h" line="108"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1377">Self</doc>
+ line="1487">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_acquired"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1378">Whether or not the lock has been acquired</doc>
+ line="1488">Whether or not the lock has been acquired</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
<method name="unload" c:identifier="ostree_sysroot_unload">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="284">Release any resources such as file descriptors referring to the
+ line="366">Release any resources such as file descriptors referring to the
root directory of this sysroot. Normally, those resources are
cleared by finalization, but in garbage collected languages that
may not be predictable.
This undoes the effect of `ostree_sysroot_load()`.</doc>
- <source-position filename="ostree-sysroot.h" line="62"/>
+ <source-position filename="ostree-sysroot.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="286">Sysroot</doc>
+ line="368">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="unlock" c:identifier="ostree_sysroot_unlock">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1421">Clear the lock previously acquired with ostree_sysroot_lock(). It
+ line="1533">Clear the lock previously acquired with ostree_sysroot_lock(). It
is safe to call this function if the lock has not been previously
acquired.</doc>
- <source-position filename="ostree-sysroot.h" line="107"/>
+ <source-position filename="ostree-sysroot.h" line="121"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1423">Self</doc>
+ line="1535">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2070">Older version of ostree_sysroot_write_deployments_with_options(). This
+ line="2113">Older version of ostree_sysroot_write_deployments_with_options(). This
version will perform post-deployment cleanup by default.</doc>
- <source-position filename="ostree-sysroot.h" line="159"/>
+ <source-position filename="ostree-sysroot.h" line="173"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2072">Sysroot</doc>
+ line="2115">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2073">List of new deployments</doc>
+ line="2116">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2074">Cancellable</doc>
+ line="2117">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2196">Assuming @new_deployments have already been deployed in place on disk via
+ line="2239">Assuming @new_deployments have already been deployed in place on disk via
ostree_sysroot_deploy_tree(), atomically update bootloader configuration. By
default, no post-transaction cleanup will be performed. You should invoke
ostree_sysroot_cleanup() at some point after the transaction, or specify
`do_postclean` in @opts. Skipping the post-transaction cleanup is useful
if for example you want to control pruning of the repository.</doc>
- <source-position filename="ostree-sysroot.h" line="172"/>
+ <source-position filename="ostree-sysroot.h" line="186"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2198">Sysroot</doc>
+ line="2241">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2199">List of new deployments</doc>
+ line="2242">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2200">Options</doc>
+ line="2243">Options</doc>
<type name="SysrootWriteDeploymentsOpts"
c:type="OstreeSysrootWriteDeploymentsOpts*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2201">Cancellable</doc>
+ line="2244">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="842">Immediately replace the origin file of the referenced @deployment
+ line="885">Immediately replace the origin file of the referenced @deployment
with the contents of @new_origin. If @new_origin is %NULL,
this function will write the current origin of @deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="136"/>
+ <source-position filename="ostree-sysroot.h" line="150"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="844">System root</doc>
+ line="887">System root</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="845">Deployment</doc>
+ line="888">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="846">Origin content</doc>
+ line="889">Origin content</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="847">Cancellable</doc>
+ line="890">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</class>
<bitfield name="SysrootSimpleWriteDeploymentFlags"
c:type="OstreeSysrootSimpleWriteDeploymentFlags">
- <source-position filename="ostree-sysroot.h" line="242"/>
+ <source-position filename="ostree-sysroot.h" line="256"/>
<member name="none"
value="0"
c:identifier="OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NONE">
</bitfield>
<record name="SysrootWriteDeploymentsOpts"
c:type="OstreeSysrootWriteDeploymentsOpts">
- <source-position filename="ostree-sysroot.h" line="169"/>
+ <source-position filename="ostree-sysroot.h" line="183"/>
<field name="do_postclean" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<source-position filename="ostree-tls-cert-interaction.h" line="35"/>
</record>
<constant name="VERSION"
- value="2019.600000"
+ value="2020.200000"
c:type="OSTREE_VERSION"
version="2017.4">
<doc xml:space="preserve"
<type name="gdouble" c:type="gdouble"/>
</constant>
<constant name="VERSION_S"
- value="2019.6"
+ value="2020.2"
c:type="OSTREE_VERSION_S"
version="2017.4">
<doc xml:space="preserve"
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="YEAR_VERSION"
- value="2019"
+ value="2020"
c:type="OSTREE_YEAR_VERSION"
version="2017.4">
<doc xml:space="preserve"
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="804">In many cases using libostree, a program may need to "break"
+ line="805">In many cases using libostree, a program may need to "break"
hardlinks by performing a copy. For example, in order to
logically append to a file.
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="806">Directory fd</doc>
+ line="807">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="807">Path relative to @dfd</doc>
+ line="808">Path relative to @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="skip_xattrs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="808">Do not copy extended attributes</doc>
+ line="809">Do not copy extended attributes</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
<function name="check_version"
c:identifier="ostree_check_version"
version="2017.4">
- <source-position filename="ostree-core.h" line="525"/>
+ <source-position filename="ostree-core.h" line="562"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2525">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
+ line="2707">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="required_year" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2522">Major/year required</doc>
+ line="2704">Major/year required</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="required_release" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2523">Release version required</doc>
+ line="2705">Release version required</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1574">Modified base64 encoding of @csum
+ line="1575">Modified base64 encoding of @csum
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1572">An binary checksum of length 32</doc>
+ line="1573">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1502">Overwrite the contents of @buf with modified base64 encoding of @csum.
+ line="1503">Overwrite the contents of @buf with modified base64 encoding of @csum.
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
<source-position filename="ostree-core.h" line="306"/>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1504">An binary checksum of length 32</doc>
+ line="1505">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1505">Output location, must be at least 44 bytes in length</doc>
+ line="1506">Output location, must be at least 44 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1383">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ line="1384">Overwrite the contents of @buf with stringified version of @csum.</doc>
<source-position filename="ostree-core.h" line="292"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1385">An binary checksum of length 32</doc>
+ line="1386">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const char*" fixed-size="32">
<type name="utf8" c:type="char"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1386">Output location, must be at least 45 bytes in length</doc>
+ line="1387">Output location, must be at least 45 bytes in length</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1476">Binary version of @checksum.</doc>
+ line="1477">Binary version of @checksum.</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1474">An ASCII checksum</doc>
+ line="1475">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1593">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
+ line="1594">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1591">#GVariant of type ay</doc>
+ line="1592">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1606">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
+ line="1607">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
<source-position filename="ostree-core.h" line="317"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1613">Binary checksum data</doc>
+ line="1614">Binary checksum data</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1608">#GVariant of type ay</doc>
+ line="1609">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="915">Compute the OSTree checksum for a given file.</doc>
+ line="916">Compute the OSTree checksum for a given file.</doc>
<source-position filename="ostree-core.h" line="435"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="917">File path</doc>
+ line="918">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="918">Object type</doc>
+ line="919">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="919">Return location for binary checksum</doc>
+ line="920">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="920">Cancellable</doc>
+ line="921">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_file_async">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1074">Asynchronously compute the OSTree checksum for a given file;
+ line="1075">Asynchronously compute the OSTree checksum for a given file;
complete with ostree_checksum_file_async_finish().</doc>
<source-position filename="ostree-core.h" line="469"/>
<return-value transfer-ownership="none">
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1076">File path</doc>
+ line="1077">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1077">Object type</doc>
+ line="1078">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="io_priority" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1078">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
+ line="1079">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1079">Cancellable</doc>
+ line="1080">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1080">Invoked when operation is complete</doc>
+ line="1081">Invoked when operation is complete</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1081">Data for @callback</doc>
+ line="1082">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1108">Finish computing the OSTree checksum for a given file; see
+ line="1109">Finish computing the OSTree checksum for a given file; see
ostree_checksum_file_async().</doc>
<source-position filename="ostree-core.h" line="477"/>
<return-value transfer-ownership="none">
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1110">File path</doc>
+ line="1111">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1111">Async result</doc>
+ line="1112">Async result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1112">Return location for binary checksum</doc>
+ line="1113">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="967">Compute the OSTree checksum for a given file. This is an fd-relative version
+ line="968">Compute the OSTree checksum for a given file. This is an fd-relative version
of ostree_checksum_file() which also takes flags and fills in a caller
allocated buffer.</doc>
<source-position filename="ostree-core.h" line="459"/>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="969">Directory file descriptor</doc>
+ line="970">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="970">Subpath
+ line="971">Subpath
@stbuf (allow-none): Optional stat buffer</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="972">Object type</doc>
+ line="973">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="973">Flags
+ line="974">Flags
@out_checksum (out) (transfer full): Return location for hex checksum</doc>
<type name="ChecksumFlags" c:type="OstreeChecksumFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="975">Cancellable</doc>
+ line="976">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="861">Compute the OSTree checksum for a given input.</doc>
+ line="862">Compute the OSTree checksum for a given input.</doc>
<source-position filename="ostree-core.h" line="426"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="863">File information</doc>
+ line="864">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="864">Optional extended attributes</doc>
+ line="865">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="in"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="865">File content, should be %NULL for symbolic links</doc>
+ line="866">File content, should be %NULL for symbolic links</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="866">Object type</doc>
+ line="867">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="867">Return location for binary checksum</doc>
+ line="868">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="868">Cancellable</doc>
+ line="869">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1548">String form of @csum</doc>
+ line="1549">String form of @csum</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1546">An binary checksum of length 32</doc>
+ line="1547">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1562">String form of @csum_bytes</doc>
+ line="1563">String form of @csum_bytes</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum_v" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1560">#GVariant of type ay</doc>
+ line="1561">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1488">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ line="1489">Overwrite the contents of @buf with stringified version of @csum.</doc>
<source-position filename="ostree-core.h" line="303"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1490">An binary checksum of length 32</doc>
+ line="1491">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1491">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
+ line="1492">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_inplace_to_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1412">Convert @checksum from a string to binary in-place, without
+ line="1413">Convert @checksum from a string to binary in-place, without
allocating memory. Use this function in hot code paths.</doc>
<source-position filename="ostree-core.h" line="310"/>
<return-value transfer-ownership="none">
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1414">a SHA256 string</doc>
+ line="1415">a SHA256 string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1415">Output buffer with at least 32 bytes of space</doc>
+ line="1416">Output buffer with at least 32 bytes of space</doc>
<type name="guint8" c:type="guchar*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1448">Binary checksum from @checksum of length 32; free with g_free().</doc>
+ line="1449">Binary checksum from @checksum of length 32; free with g_free().</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1446">An ASCII checksum</doc>
+ line="1447">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1462">New #GVariant of type ay with length 32</doc>
+ line="1463">New #GVariant of type ay with length 32</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1460">An ASCII checksum</doc>
+ line="1461">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_cmp_checksum_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1334">Compare two binary checksums, using memcmp().</doc>
+ line="1335">Compare two binary checksums, using memcmp().</doc>
<source-position filename="ostree-core.h" line="320"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1336">A binary checksum</doc>
+ line="1337">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1337">A binary checksum</doc>
+ line="1338">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
</parameters>
version="2018.2">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2387">There are use cases where one wants a checksum just of the content of a
+ line="2388">There are use cases where one wants a checksum just of the content of a
commit. OSTree commits by default capture the current timestamp, and may have
additional metadata, which means that re-committing identical content
often results in a new checksum.
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2403">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
+ line="2404">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2389">A commit object</doc>
+ line="2390">A commit object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</function>
+ <function name="commit_get_object_sizes"
+ c:identifier="ostree_commit_get_object_sizes"
+ version="2020.1"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2562">Reads a commit's "ostree.sizes" metadata and returns an array of
+#OstreeCommitSizesEntry in @out_sizes_entries. Each element
+represents an object in the commit. If the commit does not contain
+the "ostree.sizes" metadata, a %G_IO_ERROR_NOT_FOUND error will be
+returned.</doc>
+ <source-position filename="ostree-core.h" line="557"/>
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="commit_variant" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2564">variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ <type name="GLib.Variant" c:type="GVariant*"/>
+ </parameter>
+ <parameter name="out_sizes_entries"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="container"
+ optional="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-core.c"
+ line="2565">
+ return location for an array of object size entries</doc>
+ <array name="GLib.PtrArray" c:type="GPtrArray**">
+ <type name="CommitSizesEntry"/>
+ </array>
+ </parameter>
+ </parameters>
+ </function>
<function name="commit_get_parent" c:identifier="ostree_commit_get_parent">
<source-position filename="ostree-core.h" line="517"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2365">Checksum of the parent commit of @commit_variant, or %NULL
+ line="2366">Checksum of the parent commit of @commit_variant, or %NULL
if none</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2363">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2364">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="729">A thin wrapper for ostree_content_stream_parse(); this function
+ line="730">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="377"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="731">Whether or not the stream is zlib-compressed</doc>
+ line="732">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="content_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="732">Path to file containing content</doc>
+ line="733">Path to file containing content</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="733">If %TRUE, assume the content has been validated</doc>
+ line="734">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="734">The raw file content stream</doc>
+ line="735">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="735">Normal metadata</doc>
+ line="736">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="736">Extended attributes</doc>
+ line="737">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="737">Cancellable</doc>
+ line="738">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="678">A thin wrapper for ostree_content_stream_parse(); this function
+ line="679">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="387"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="680">Whether or not the stream is zlib-compressed</doc>
+ line="681">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="parent_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="681">Directory file descriptor</doc>
+ line="682">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="682">Subpath</doc>
+ line="683">Subpath</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="683">If %TRUE, assume the content has been validated</doc>
+ line="684">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="684">The raw file content stream</doc>
+ line="685">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="685">Normal metadata</doc>
+ line="686">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="686">Extended attributes</doc>
+ line="687">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="687">Cancellable</doc>
+ line="688">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="579">The reverse of ostree_raw_file_to_content_stream(); this function
+ line="580">The reverse of ostree_raw_file_to_content_stream(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="366"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="581">Whether or not the stream is zlib-compressed</doc>
+ line="582">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="582">Object content stream</doc>
+ line="583">Object content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="input_length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="583">Length of stream</doc>
+ line="584">Length of stream</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="584">If %TRUE, assume the content has been validated</doc>
+ line="585">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="585">The raw file content stream</doc>
+ line="586">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="586">Normal metadata</doc>
+ line="587">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="587">Extended attributes</doc>
+ line="588">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="588">Cancellable</doc>
+ line="589">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1160">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="1161">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="dir_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1157">a #GFileInfo containing directory information</doc>
+ line="1158">a #GFileInfo containing directory information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1158">Optional extended attributes</doc>
+ line="1159">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="hash_object_name" c:identifier="ostree_hash_object_name">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1315">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
+ line="1316">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
<source-position filename="ostree-core.h" line="344"/>
<return-value transfer-ownership="none">
<type name="guint" c:type="guint"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1317">A #GVariant containing a serialized object</doc>
+ line="1318">A #GVariant containing a serialized object</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
c:identifier="ostree_object_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1294">Reverse ostree_object_to_string().</doc>
+ line="1295">Reverse ostree_object_to_string().</doc>
<source-position filename="ostree-core.h" line="360"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1296">An ASCII checksum</doc>
+ line="1297">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1297">Parsed checksum</doc>
+ line="1298">Parsed checksum</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1298">Parsed object type</doc>
+ line="1299">Parsed object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
c:identifier="ostree_object_name_deserialize">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1364">Reverse ostree_object_name_serialize(). Note that @out_checksum is
+ line="1365">Reverse ostree_object_name_serialize(). Note that @out_checksum is
only valid for the lifetime of @variant, and must not be freed.</doc>
<source-position filename="ostree-core.h" line="351"/>
<return-value transfer-ownership="none">
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1366">A #GVariant of type (su)</doc>
+ line="1367">A #GVariant of type (su)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1367">Pointer into string memory of @variant with checksum</doc>
+ line="1368">Pointer into string memory of @variant with checksum</doc>
<type name="utf8" c:type="const char**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1368">Return object type</doc>
+ line="1369">Return object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1353">A new floating #GVariant containing checksum string and objtype</doc>
+ line="1354">A new floating #GVariant containing checksum string and objtype</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1350">An ASCII checksum</doc>
+ line="1351">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1351">An object type</doc>
+ line="1352">An object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1285">A string containing both @checksum and a stringifed version of @objtype</doc>
+ line="1286">A string containing both @checksum and a stringifed version of @objtype</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1282">An ASCII checksum</doc>
+ line="1283">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1283">Object type</doc>
+ line="1284">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1253">The reverse of ostree_object_type_to_string().</doc>
+ line="1254">The reverse of ostree_object_type_to_string().</doc>
<source-position filename="ostree-core.h" line="341"/>
<return-value transfer-ownership="none">
<type name="ObjectType" c:type="OstreeObjectType"/>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1255">A stringified version of #OstreeObjectType</doc>
+ line="1256">A stringified version of #OstreeObjectType</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_to_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1222">Serialize @objtype to a string; this is used for file extensions.</doc>
+ line="1223">Serialize @objtype to a string; this is used for file extensions.</doc>
<source-position filename="ostree-core.h" line="338"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1224">an #OstreeObjectType</doc>
+ line="1225">an #OstreeObjectType</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="154">Split a refspec like `gnome-ostree:gnome-ostree/buildmaster` or just
+ line="155">Split a refspec like `gnome-ostree:gnome-ostree/buildmaster` or just
`gnome-ostree/buildmaster` into two parts. In the first case, @out_remote
will be set to `gnome-ostree`, and @out_ref to `gnome-ostree/buildmaster`.
In the second case (a local ref), @out_remote will be %NULL, and @out_ref
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="168">%TRUE on successful parsing, %FALSE otherwise</doc>
+ line="169">%TRUE on successful parsing, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="156">A "refspec" string</doc>
+ line="157">A "refspec" string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="157">Return location for the remote name,
+ line="158">Return location for the remote name,
or %NULL if the refspec refs to a local ref</doc>
<type name="utf8" c:type="char**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="159">Return location for the ref name</doc>
+ line="160">Return location for the ref name</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="477">Convert from a "bare" file representation into an
+ line="478">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream suitable for ostree pull.</doc>
<source-position filename="ostree-core.h" line="399"/>
<return-value transfer-ownership="none">
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="479">File raw content stream</doc>
+ line="480">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="480">A file info</doc>
+ line="481">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="481">Optional extended attributes</doc>
+ line="482">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="482">Serialized object stream</doc>
+ line="483">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="483">Cancellable</doc>
+ line="484">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="504">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
+ line="505">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
of flags. The following flags are currently defined:
- `compression-level` (`i`): Level of compression to use, 0–9, with 0 being
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="506">File raw content stream</doc>
+ line="507">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="507">A file info</doc>
+ line="508">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="508">Optional extended attributes</doc>
+ line="509">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="509">A GVariant `a{sv}` with an extensible set of flags</doc>
+ line="510">A GVariant `a{sv}` with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="510">Serialized object stream</doc>
+ line="511">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="511">Cancellable</doc>
+ line="512">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="544">Convert from a "bare" file representation into an
+ line="545">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream. This is a fundamental operation
for writing data to an #OstreeRepo.</doc>
<source-position filename="ostree-core.h" line="417"/>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="546">File raw content stream</doc>
+ line="547">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="547">A file info</doc>
+ line="548">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="548">Optional extended attributes</doc>
+ line="549">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="549">Serialized object stream</doc>
+ line="550">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_length"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="550">Length of stream</doc>
+ line="551">Length of stream</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="551">Cancellable</doc>
+ line="552">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="131">Use this function to see if input strings are checksums.</doc>
+ line="132">Use this function to see if input strings are checksums.</doc>
<source-position filename="ostree-core.h" line="282"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="138">%TRUE if @sha256 is a valid checksum string, %FALSE otherwise</doc>
+ line="139">%TRUE if @sha256 is a valid checksum string, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="133">SHA256 hex string</doc>
+ line="134">SHA256 hex string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="284">Check whether the given @collection_id is valid. Return an error if it is
+ line="285">Check whether the given @collection_id is valid. Return an error if it is
invalid or %NULL.
Valid collection IDs are reverse DNS names:
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="303">%TRUE if @collection_id is a valid collection ID, %FALSE if it is invalid
+ line="304">%TRUE if @collection_id is a valid collection ID, %FALSE if it is invalid
or %NULL</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="286">A collection ID</doc>
+ line="287">A collection ID</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="260">%TRUE if @remote_name is a valid remote name</doc>
+ line="261">%TRUE if @remote_name is a valid remote name</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="257">A remote name</doc>
+ line="258">A remote name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="232">%TRUE if @rev is a valid ref string</doc>
+ line="233">%TRUE if @rev is a valid ref string</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="229">A revision string</doc>
+ line="230">A revision string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2057">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
+ line="2058">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2054">an ASCII string</doc>
+ line="2055">an ASCII string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2179">Use this to validate the basic structure of @commit, independent of
+ line="2180">Use this to validate the basic structure of @commit, independent of
any other objects it references.</doc>
<source-position filename="ostree-core.h" line="505"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2187">%TRUE if @commit is structurally valid</doc>
+ line="2188">%TRUE if @commit is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2181">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2182">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2043">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
+ line="2044">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2040">a #GVariant of type "ay"</doc>
+ line="2041">a #GVariant of type "ay"</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2331">Use this to validate the basic structure of @dirmeta.</doc>
+ line="2332">Use this to validate the basic structure of @dirmeta.</doc>
<source-position filename="ostree-core.h" line="513"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2338">%TRUE if @dirmeta is structurally valid</doc>
+ line="2339">%TRUE if @dirmeta is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirmeta" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2333">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="2334">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2219">Use this to validate the basic structure of @dirtree, independent of
+ line="2220">Use this to validate the basic structure of @dirtree, independent of
any other objects it references.</doc>
<source-position filename="ostree-core.h" line="509"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2227">%TRUE if @dirtree is structurally valid</doc>
+ line="2228">%TRUE if @dirtree is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2221">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
+ line="2222">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2316">%TRUE if @mode represents a valid file type and permissions</doc>
+ line="2317">%TRUE if @mode represents a valid file type and permissions</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2313">A Unix filesystem mode</doc>
+ line="2314">A Unix filesystem mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2025">%TRUE if @objtype represents a valid object type</doc>
+ line="2026">%TRUE if @objtype represents a valid object type</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>